﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200136F RID: 4975
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class TakePictureScRsp : IMessage<TakePictureScRsp>, IMessage, IEquatable<TakePictureScRsp>, IDeepCloneable<TakePictureScRsp>, IBufferMessage
	{
		// Token: 0x17003EBC RID: 16060
		// (get) Token: 0x0600DEBC RID: 57020 RVA: 0x00253EA8 File Offset: 0x002520A8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<TakePictureScRsp> Parser
		{
			get
			{
				return TakePictureScRsp._parser;
			}
		}

		// Token: 0x17003EBD RID: 16061
		// (get) Token: 0x0600DEBD RID: 57021 RVA: 0x00253EAF File Offset: 0x002520AF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return TakePictureScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003EBE RID: 16062
		// (get) Token: 0x0600DEBE RID: 57022 RVA: 0x00253EC1 File Offset: 0x002520C1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return TakePictureScRsp.Descriptor;
			}
		}

		// Token: 0x0600DEBF RID: 57023 RVA: 0x00253EC8 File Offset: 0x002520C8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TakePictureScRsp()
		{
		}

		// Token: 0x0600DEC0 RID: 57024 RVA: 0x00253ED0 File Offset: 0x002520D0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TakePictureScRsp(TakePictureScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600DEC1 RID: 57025 RVA: 0x00253EF5 File Offset: 0x002520F5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TakePictureScRsp Clone()
		{
			return new TakePictureScRsp(this);
		}

		// Token: 0x17003EBF RID: 16063
		// (get) Token: 0x0600DEC2 RID: 57026 RVA: 0x00253EFD File Offset: 0x002520FD
		// (set) Token: 0x0600DEC3 RID: 57027 RVA: 0x00253F05 File Offset: 0x00252105
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x0600DEC4 RID: 57028 RVA: 0x00253F0E File Offset: 0x0025210E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as TakePictureScRsp);
		}

		// Token: 0x0600DEC5 RID: 57029 RVA: 0x00253F1C File Offset: 0x0025211C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(TakePictureScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600DEC6 RID: 57030 RVA: 0x00253F4C File Offset: 0x0025214C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600DEC7 RID: 57031 RVA: 0x00253F8B File Offset: 0x0025218B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600DEC8 RID: 57032 RVA: 0x00253F93 File Offset: 0x00252193
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600DEC9 RID: 57033 RVA: 0x00253F9C File Offset: 0x0025219C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(112);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600DECA RID: 57034 RVA: 0x00253FD0 File Offset: 0x002521D0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600DECB RID: 57035 RVA: 0x0025400E File Offset: 0x0025220E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(TakePictureScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600DECC RID: 57036 RVA: 0x0025403F File Offset: 0x0025223F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600DECD RID: 57037 RVA: 0x00254048 File Offset: 0x00252248
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 112U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.Retcode = input.ReadUInt32();
				}
			}
		}

		// Token: 0x0400584C RID: 22604
		private static readonly MessageParser<TakePictureScRsp> _parser = new MessageParser<TakePictureScRsp>(() => new TakePictureScRsp());

		// Token: 0x0400584D RID: 22605
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400584E RID: 22606
		public const int RetcodeFieldNumber = 14;

		// Token: 0x0400584F RID: 22607
		private uint retcode_;
	}
}
